package com.franklin.ideaplugin.maphelper.col.method.impl;

import com.franklin.ideaplugin.maphelper.col.method.IColCreateMethod;
import lombok.Data;

/**
 * @author Ye Junhui
 * @since 2024/3/12
 */
@Data
public class ColCreateMethodImpl implements IColCreateMethod {

    /**
     * 方法名
     */
    private final String methodName;

    /**
     * 参数数量
     */
    private final int paramCount;

    public ColCreateMethodImpl(String methodName, int paramCount) {
        this.methodName = methodName;
        this.paramCount = paramCount;
    }

    @Override
    public String getMethodName() {
        return this.methodName;
    }
}
